<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <title>乐友首页-帖子发布</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="/css/see/reset.min.css">
    <!--<link rel="stylesheet" href="/plugins/summernote/summernote-lite.css">-->
    <link rel="stylesheet" href="/css/friend/releasePost.min.css?v=<%=$version%>">
</head>
<body>
<div id="releasePost" v-cloak>
    <div class="circleBar-top">
        <span class="goback" @click="getBack()"></span>
        {{name}}
        <strong class="seeIndex-setUp" @click="savePost()">发布</strong>
    </div>
    <div class="releasePost-cent">
        <div class="releasePost-title">
            <span>标题</span>
            <input type="text" name="" v-model="data.title" autofocus="autofocus" placeholder="">
        </div>
        <div class="releasePost-Edit">
            <div class="publish-article-content">
                <!--<div class="title-tips">正文</div>-->
                <input type="hidden" id="target">
                <div class="article-content" id="content">
                </div>
                <div class="footer-btn g-image-upload-box">
                    <div class="upload-button">
                        <span class="upload">插入图片</span>
                        <input class="input-file" id="imageUpload" type="file" name="fileInput" accept="image/*">
                    </div>
                </div>
            </div>
            <!--<div id="editor-container">-->

            <!--</div>-->
        </div>
    </div>
    <prompt-view ref="prompt"></prompt-view>
</div>

<script src='/plugins/js/jquery-1.11.3.min.js'></script>
<script type="text/javascript" src="/plugins/js/vue.min.js"></script>
<script type="text/javascript" src="/plugins/artEditor/index.js"></script>
<!--<script type="text/javascript" src="/plugins/summernote/summernote-lite.js"></script>-->
<script type="text/javascript" src="/js/friend/releasePost.js?v=<%=$version%>"></script>
<script>
    // $(document).ready(function() {
    //     $("#editor-container").summernote({
    //         // height: 500,
    //         tabsize: 2,
    //         fontSize:20,
    //         codemirror: {
    //             mode: 'text/html',
    //             htmlMode: true,
    //             lineNumbers: true,
    //             theme: 'monokai'
    //         },
    //         toolbar: [
    //             // [groupName, [list of button]]
    //             ['style', ['bold', 'italic', 'underline']],
    //             ['fontsize', ['fontsize']],
    //             ['table', ['table']],
    //             ['picture', ['picture']],
    //             ['color', ['color']],
    //             ['para', ['ul', 'ol', 'paragraph']],
    //             ['height', ['height']]
    //
    //         ]
    //     });
    // });
</script>
</body>
</html>